← Back to issue list

snapcraft help doesn't show --shell-before, or --shell, or --destructive-mode options

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1834871
Type
issue
State
open
Author
~anonymouse67
Labels
Created
2019-07-01 14:27:52.281004+00:00
Updated
2019-07-01 14:27:52.281004+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

In the snapcraft help the only options shown are --debug, --version and --help: ``` $ snapcraft --help Usage: snapcraft [OPTIONS] COMMAND [ARGS]... Snapcraft is a delightful packaging tool. Options: --version Show the version and exit. -d, --debug --help Show this message and exit. ``` when you can really use the default sub-command (`snapcraft snap` AIUI) options with `snapcraft` directly, so the documented options for `snapcraft snap` should also show up in the default help message. Specifically these options: ``` Options: --target-arch <arch> Target architecture to cross compile to --debug Shells into the environment if the build fails. --shell Shells into the environment in lieu of the step to run. --shell-after Shells into the environment after the step has run. --destructive-mode Forces snapcraft to try and use the current host to build. --use-lxd Forces snapcraft to use LXD to build. -o, --output TEXT path to the resulting snap. --help Show this message and exit. ```

Evaluation history

No evaluation history available.